package com.hljx.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hljx.config.BaseEntity;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 核算单元权重配置表
 * </p>
 *
 * @author gx
 * @since 2023-10-07
 */
@Getter
@Setter
@TableName("accounting_unit_weight")
public class AccountingUnitWeight extends BaseEntity {

    /**
     * 核算单元名称
     */
    @TableField("accounting_name")
    @ExcelProperty(value = "核算单元名称", index = 0)
    @ColumnWidth(30)
    private String accountingName;

    /**
     * 核算单元编码
     */
    @TableField("accounting_code")
    @ExcelProperty(value = "核算单元编码", index = 1)
    @ColumnWidth(30)
    private String accountingCode;

    /**
     * 工作量权重
     */
    @TableField("workload_weight")
    @ExcelProperty(value = "工作量权重", index = 2)
    @ColumnWidth(30)
    private BigDecimal workloadWeight;

    /**
     * 考核周期
     */
    @TableField("assessment_cycle_id")
    @ExcelProperty(value = "考核周期id", index = 3)
    @ColumnWidth(30)
    private Long assessmentCycleId;

    @TableField(exist = false)
    @ExcelIgnore
    private String assessmentCycle;

}
